package com.imusic.model.music.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("music_info")
public class MusicInfo implements Serializable {

    @TableId(value = "id",type = IdType.ID_WORKER)
    private Long id;

    @TableField("name")
    private String name;

    @TableField("singer_id")
    private Long singerId;

    @TableField("singer_name")
    private String singerName;

    @TableField("music_type_id")
    private Integer musicTypeId;

    @TableField("music_type")
    private String musicType;

    @TableField("album_id")
    private Integer albumId;

    @TableField("cover_id")
    private Long coverId;

    @TableField("cover_url")
    private String coverUrl;

    @TableField("playing_picture")
    private String playingPicture;

    @TableField("likes")
    private Integer likes;

    @TableField("plays")
    private Integer plays;

    @TableField("searchs")
    private Integer searchs;

    @TableField("create_time")
    private Date createTime;

    @TableField("lyric_id")
    private Long lyricId;

    @TableField("video_id")
    private Long videoId;

}
